export default class ThrottleUnit {
    private _delayTime = 60;
    public constructor(delayTime:number = 60){
        this._delayTime = delayTime;
    }
    private _timer:any = null;
    public getIsContinue(){
        if(this._timer != null)
        {
            return false;
        }
        this._timer = setTimeout(()=>{
            this._timer = null;
        },this._delayTime);
        return true;
    }

}